package com.uniview.utils;

/**
 * @Author lux
 * @date: 2019/11/26
 * @desc: id生成器服务
 */
public class TransSeqGenerator {

    private static IdGenerator idGenerator = IdGenerator.get();

    /**
     * @desc 生成用户id
     */
    public static String getUserId() {
        return idGenerator.nextId();
    }

    /**
     * @desc 生成clientId
     */
    public static String getId() {
        return idGenerator.nextId();
    }


}
